-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chat Exporting Error #33
Comments
I have the second problem as well. Error merging chats:Traceback (most recent call last): File "C:\stuff\projektid\skyperious\packaging\build\pyinstaller\out00-PYZ.pyz\workers", line 487, in work_diff_merge_left File "C:\stuff\projektid\skyperious\packaging\build\pyinstaller\out00-PYZ.pyz\workers", line 792, in get_chat_diff_left File "C:\stuff\projektid\skyperious\packaging\build\pyinstaller\out00-PYZ.pyz\skypedata", line 1533, in parse File "C:\stuff\projektid\skyperious\packaging\build\pyinstaller\out00-PYZ.pyz\skypedata", line 1654, in parse_message_dom UnboundLocalError: local variable 'b' referenced before assignment |
A new Skyperious version, 3.3 has just been released, where the "local variable 'b'" error should be fixed. Can you confirm? |
It Works! Owesome! |
Glad to hear that :) |
I have updated and can now export the Skype chats I wanted.. Well, sort of. One of them that I wasn't able to export is now fixed, and I can export it to html. However, I have another chat that won't work in html. It still gives me the AttributeError: 'NoneType' object has no attribute 'text' error. I can export it to .txt though. |
jdl96: can you give the full error you're getting? |
This is the error I'm getting:
|
jdl96: can you try this pre-release version, and see if any error still occurs? |
With your pre-release I am able to successfully export the chat in html! Thank you! |
Oho, that is a weird one. And the incomplete HTML export displays in browser properly? What happens if you try the same export to text or Excel? |
Yes, the incomplete html export displays properly in the browser, but the messages beyond the file sending are missing. I tested in Chrome, Firefox, and IE. EDIT: Okay so I just discovered that the messages actually are there, it's just you can't see them. I looked at the html file's source in a text editor and the missing messages are there, but they're not being displayed when viewing the file in a browser for some reason. |
Aha, that sheds some light. It sounds like some messages result in invalid HTML, probably to do with something new in Skype. Could you paste a section of the HTML, from the start of the picture message to the start of the next message, or send it to my e-mail? You can replace any personal information in there with random text. |
I pasted the code on pastebin since it didn't want to show up correctly here, I hope you don't mind: http://pastebin.com/HpGxrjHt |
Thank you, figured out the problem now. Will have a new version for you to try out soon, if you don't mind. |
Sure, I don't mind. |
jdl96: here is an updated version. How does that one work? |
It works great! All the messages appear now and everything seems to be exporting properly without any errors. |
Excellent. I will release an official update in a short while. |
jdl96, can you confirm if these errors are fixed in the new v3.4 release? |
Just tried exporting some things and haven't had any errors, but I think I did find another bug. |
This update did contain a change in handling timestamps. Previously message timestamps were interpreted using local computer timezone, now they take into account the timezone setting in Skype profile. But at the moment it's unclear how can this result in a shift of more than a day.. Can you tell me the value of the Also, can you tell me the value of the
|
Timezone is set to "72000". |
Thank you. Another question - what datetime does Skype show for this message? |
In Skype itself? If I hover over the time the tooltip says "Sunday, March 29, 2015 11:00:38 PM". |
Thank you, I think I've figured out the bug now. Do you happen to remember if the actual message time was 23:00, or could it have been 00:00? Skype can actually show wrong time in message history, as it does not account for daylight saving time. Or do you reside in a timezone where clocks are not adjusted? |
I have Skype set to go by my computer's time. Daylight savings was on March the 8th, and the computer automatically changes the time so that's probably not the issue. I wasn't online at the time the message was posted so I don't know for sure, but it was probably at 23:00. |
Hi! I've been using Skyperious for over a year now to log an ongoing conversation in an Excel database, and it's been a godsend. This timestamp issue showed up for me with a previous release (either 3.4 or 3.3 - I've been a bit behind in exporting my messages so I can't be absolutely sure). I can easily compensate for the time offset with a formula, and I'm not in any way complaining about this minor error in such a magnificent program that's free! However, I thought you'd appreciate the additional detail in case you wanted to troubleshoot further. I can confirm that this is not accounted for simply by daylight saving time, as I'm quite aware of when the messages are sent and received in local time on my computer or device via Skype. There's definitely a difference between this and the timestamp in Skyperious. For example, this is how I discovered the discrepancy: I'd previously exported the dates April 9-10 of this year into Excel. Today I exported April 10 onward and discovered the following conversations were duplicated: April 9, 08:13-14:26 duplicated as April 10, 09:13-15:26 It doesn't seem to correspond to any existing timezone either. My computer's regional settings are set to UTC-07:00 Mountain Time (US & Canada), currently observing DST; according to timeanddate.com there is no time zone 13 hours ahead of this. Please let me know if there's anything I can do to help you pinpoint the source of the error, but if it's not a priority I completely understand. |
SzaraHill, thank you for the additional information. I think I have found a solution. jdl96 and SzaraHill: can you try this pre-release version and see if the times are correct now? |
I re-exported a March 2015 chat to test your pre-release version, and the timing is still a bit off. |
Well, dammit :) Can you try this 3.4.1c version? I added a temporary "Timezone setting" toggle on the database page. If you change the setting, it will change timestamps accordingly and reload the current chat. Can you report which setting results in correct datetimes? |
Success on the date! Default timezone setting (DST shift) is still one hour ahead; I made the mistake of attempting to change the setting with a 70000+ message chat loaded... program seemed to freeze and no change happened. Re-started and tried again with a much smaller chat selected, and found success! The window listing "all chat entries in database" doesn't change, but when I switch to "no DST shift" or "local time", the lower window with the actual chat now shows the correct date and time for all chats. Well done and way to go! |
No DST Shift and Local Time show the correct date and time in Skyperious itself, but when exporting in HTML, the only one that shows the correct time for me is Local Time... No DST Shift and DST Shift are both still an hour ahead. |
Dang, I hadn't tried doing an export. Fixed that now. (By the way, I used to find that having Skyperious open, even if it wasn't reading the main database, led to an error logging in to Skype. That isn't happening anymore. Whatever you did, or whatever the Skype people did - props!) |
This is a pretty pickle.. Because in my own database, "DST shift" works 100%, but "no DST shift" shows history wrong in winter time. "local time" works, of course, but the sole aim of this change was NOT to rely on local time :) I noticed that when opening a database on another computer using a different timezone, all messages were displayed in that timezone and not at the originally sent time. Looks like I will have to roll back this change altogether. SzaraHill: the Skype+Skyperious simultaneous usage issue was cleared by Skype, formerly they used to lock the database file exclusively. |
Can you please check if the time issue has been fully fixed in the new v3.4.1 release? |
Yes, it looks fixed from here in html export. Thanks! |
Hello, I am getting an error when I am trying to export part of a Skype chat and I am unsure of what is causing the problem. I am using a freshly installed copy of Skyperious. Here is the error I am getting:
EDIT: I narrowed down the problem to a specific day in the logs I was trying to export, and when I try to export just that day only, I get the following error:
The text was updated successfully, but these errors were encountered: